feat: add V func to access a kv value from an error #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
was dorking around with what an accessor might look like. When we return the group of
Fields
, it requires a fair bit of juggling to find the important bits you're after. Addidtionally, that would create a new slice of[]any
that may not be warranted. With an accessor, we can avoid the[]any
and work with what we know the string should be, astring
, and return the value ofany
. Additionally, the func nameV
is super terse, perhaps too much so. However, I kind of dig it after working with it for a bit.